package com.wsoft.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wsoft.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author juiet
 * @since 2024年09月22日 14:00:05
 */
@Getter
@Setter
@TableName("sys_role")
@Schema(name = "SysRoleEntity", description = "角色表")
public class SysRoleEntity extends BaseEntity {

    @TableField("code")
    private String code;

    @TableField("name")
    private String name;

    @Schema(description = "描述")
    @TableField("description")
    private String description;

    @TableField("sort")
    private Integer sort;
}
